function n = length(lst)
%LENGTH Gets the length of the list
%
% [ Syntax ]
%   - n = length(lst)
% 
% [ Description ]
%  - n = length(lst) returns the number of elements in the list.
%
% [ History ]
%   - Created by Dahua Lin, Jan 5, 2008.
%

n = lst.n;